package com.hashnode.lb;

import org.springframework.cloud.client.ServiceInstance;
import java.util.List;

//自定义负载均衡策略，拿到相应的ServiceInstance
public interface LoadBalancer {
    ServiceInstance instance(List<ServiceInstance> serviceInstaces);
}
